import Layout from '@/layout'

const supplierRouter = {
  path: '/supplier',
  component: Layout,
  redirect: '/supplier/cust_supplier_class',
  name: 'ClientSupplier',
  meta: {
    title: '客户供应商',
  },
  children: [
    {
      path: 'cust_supplier_class',
      name: 'CustSupplierClass',
      meta: { title: '客商分类' },
      component: () => import('@/views/base/custsuppclass/'),
    },
    {
      path: 'customer',
      name: 'Customer',
      meta: { title: '客户资料' },
      component: () => import('@/views/base/customer/'), 
    },
    {
      path: 'supplier',
      component: () => import('@/views/base/supplier/'), 
      name: 'Supplier',
      meta: { title: '供应商资料' }
    },
  ]
}

export default supplierRouter